package com.sh.stream.po;

import java.awt.geom.Arc2D;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

public class Person {

    private String name;
    private int age;

    public Person(String name, int age) {
        // 构造函数，用于创建 Person 对象
        this.name = name;
        this.age = age;
    }

    public String getName() {
        // 获取人员的名字
        return name;
    }

    public int getAge() {
        // 获取人员的年龄
        return age;
    }

}
